package com.gfxy.modules.common.service;


import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gfxy.modules.common.entity.TotalScore;
import com.gfxy.modules.common.vo.SummaryOrgTotalScoreVo;
import com.gfxy.modules.common.vo.SummaryTotalScoreVo;
import com.gfxy.modules.common.vo.TotalScoreOrg;
import com.gfxy.modules.common.vo.TotalScoreVo;
import org.apache.ibatis.annotations.Param;
import org.jeecg.common.api.vo.Result;

import java.util.List;
import java.util.Map;

/**
 * @Description: gfxy_t_total_score
 * @Author: jeecg-boot
 * @Date:   2021-11-17
 * @Version: V1.0
 */
public interface ITotalScoreService extends IService<TotalScore> {

    List<Map> getClassificationInfoAndScoreByDateUserProjectId(String date, String username,String projectId);


    List<Map> getScoreAndRankedByProjectId(String date, String username,String projectId);

    List<Map> getScoreAndRankedByProjectIdAndTeacherType(String date, String username,String projectId,String teacherType);


    public List<Map> getClassificationScoreAndRankedByProjectId(String date, String username, String projectId) ;


    public List<Map> getClassificationScoreAndRankedByProjectIdAndTeacherType(String date, String username, String projectId,String teacherType);

    IPage<TotalScoreVo> getEducationTotalScore(String  date, String orgCode,Integer pageNo,Integer pageSize);

    List<SummaryOrgTotalScoreVo> getOrgAllYearSummaryTotalScoreByDate(String date, String projectId);

    IPage<SummaryTotalScoreVo> getAllYearSummaryTotalScoreByDateAndOrgCode(String date, String orgCode, Integer pageNo, Integer pageSize);

    List<SummaryTotalScoreVo> getAllSummaryTotalScoreByDateAndOrgCodeForList(String date, String orgCode);

//    public IPage<TotalScoreVo> getEducationAndServiceByDateAndOrgCode(String date, String orgCode,Integer pageNo,Integer pageSize);
}
